package ${packageName}.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @description [<#if tableComment??>${tableComment}-服务实现层]</#if>
 * @author ${author}
 * @date ${date}
 */
@Slf4j
@RequiredArgsConstructor
@Service
public class ${tableNameBig}ServiceImpl extends ServiceImpl<${tableNameBig}Mapper, ${tableNameBig}> implements ${tableNameBig}Service {

    private final ${tableNameBig}Mapper ${tableNameSmall}Mapper;

    <#if tableTemplate == "tree">
    /**
     * @description [级联下拉框]
     * @author ･ᴗ･
     */
    @Override
    public List<CascaderStringBo> cascaderList() {
        return ${tableNameSmall}Mapper.cascaderList();
    }
    </#if>

}
